package com.kkwrite.regimen.provider.repository;

import com.kkwrite.regimen.provider.domain.RegPositionLogDO;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by lisha on 2018/7/13 11:39.
 *
 * @author lisha
 */
public interface RegPositionRepository extends JpaRepository<RegPositionLogDO, Integer> {
    /**
     * 依据userId查询DO对象
     * @param userId userId
     * @return RegPositionLogDO
     */
    RegPositionLogDO findByUserId(Integer userId);
}
